package com.tanxi521.springboot.service;

import com.tanxi521.springboot.bean.AllPlayerInfoCard;
import com.tanxi521.springboot.bean.PlayerInfoCard;
import com.tanxi521.springboot.pojo.AllPlayerInfoCardInfo;
import com.tanxi521.springboot.pojo.LoginResult;
import com.tanxi521.springboot.pojo.OaUser;
import com.tanxi521.springboot.pojo.PlayerAccount;

import java.util.List;

/**
 * @Author: i-xiaotian
 * @Date: 2022/3/26 0:49
 * @EMAIL: 1254806967@qq.com
 */
public interface UserService {

    PlayerAccount queryPlayerAccount(PlayerAccount playerAccount);

    String queryPlayerUuid(String userName);

    OaUser queryUser(OaUser oaUser);

    void insertNewUser(OaUser oaUser);

    LoginResult queryUserInfo(OaUser oaUser);

    PlayerInfoCard queryUserDetail(String name);

    List<AllPlayerInfoCardInfo> queryAllPlayerInfoCard(Integer pageSize, Integer pageIndex, AllPlayerInfoCardInfo allPlayerInfoCard);

    int queryUserCountByMc(AllPlayerInfoCardInfo allPlayerInfoCardInfo);

    String queryUserUuid(String name);

    int updateUserPwd(String userName, String newPwd);

    int updateUserHeadImg(OaUser oaUser);
}
